<!DOCTYPE html>
<html lang="zh-cmn-Hans">

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
		<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
		<title></title>
		<link rel="stylesheet" type="text/css" href="/public/plug/JQueryWeui/weui.min.css" />
		<style type="text/css">
			.weui-popup__container {
				z-index: 99999!important;
			}
			
			.weui-popup__overlay {
				opacity: 1!important;
			}
			
			.c-ffae17 {
				color: #ffae17;
			}
			
			.c-36ceca {
				color: #36ceca;
			}
			
			.c-ffb50e {
				color: #ffb50e;
			}
			
			.c-0092da {
				color: #0092da;
			}
			
			.c-ee5c62 {
				color: #ee5c62;
			}
			
			.c-36ceca {
				color: #36ceca;
			}
			
			.c-28a6e0 {
				color: #28a6e0;
			}
			
			.share-bg {
				background-image: url(/public/home/images/share-bg.png);
				background-position: top right;
				background-repeat: no-repeat;
			}
			
			.overh {
				overflow: hidden;
			}
			
			.pw68 {
				width: 68%;
			}
			
			.noCert {
				display: inline;
				padding: 1px 2px;
				font-size: 12px;
				color: #FE0137;
				border-radius: 2px;
				border: 1px solid #FE0137;
			}
			
			.hasCert {
				display: inline;
				padding: 1px 2px;
				font-size: 12px;
				color: #1AAD19;
				border-radius: 2px;
				border: 1px solid #1AAD19;
			}
			
			.uploadFiles {
				width: 320px;
				position: relative;
				border-width: 2px;
				border-style: dashed;
				border-color: #ededed;
			}
			
			.uploadFiles img {
				display: block;
				width: auto;
				height: auto;
				max-width: 100%;
				max-height: 320px;
			}
			
			.uploadFiles input {
				display: block;
				width: 100%;
				height: 100%;
				border: none;
				outline: none;
				background-color: transparent;
				opacity: 0;
				position: absolute;
				top: 0;
				left: 0;
				z-index: 2;
				cursor: pointer;
			}
		</style>
	</head>

	<body ontouchstart class="bg-f2f2f2">
		<div class="warp" id="member-template" style="display: none;" data-title="会员中心">
			<div class="weui-tab">
				<div class="weui-tab__bd">
					<div id="msg-modal" class="weui-tab__bd-item">
						<div class="" id="msg-modal-list"></div>
						<div class="nothing-box nothing-bg position-relative">
							<p class="position-absolute position-screen text-center fs14r" style="top: 320px;">
								您还没有收到任何消息
							</p>
						</div>
						<div class="weui-loadmore" style="display: none;">
							<i class="weui-loading"></i>
							<span class="weui-loadmore__tips">正在加载</span>
						</div>
					</div>

					<?php $member = \think\Session::get('member'); ?>
					<div id="tab4" class="weui-tab__bd-item weui-tab__bd-item--active">
						<div class="weui-cells m-t-0x p-y-3x account-bg weui-notline">
							<div class="weui-cell">
								<!-- layout-mark="btn-step" data-hash="memberinfo" -->
								<a class="weui-cell__hd m-r-2x" href="/mobile/complete?scene=edit#memberinfo">
									<img src="{:$member['info']['headimgurl']}" class="pro-logo" width="72">
								</a>
								<div class="weui-cell__bd c-fff">
									<p class="lh32x">
										<font>{:$member['info']['nickname']}</font>
										<?php if( 2 <= \think\Session::get('member.role') ){ ?>
											<?php if( 9 == \think\Session::get('member.status') ){ ?>
												<font class="noCert">未认证</font>
											<?php }else{ ?>
												<font class="hasCert">已认证</font>
											<?php } ?>
										<?php } ?>
									</p>
									<p class="fs14r" id="mbinfo"></p>
								</div>
							</div>
							<div class="position-absolute position-right position-top m-t-1x m-r-2x c-fff">
								<!-- layout-mark="btn-step" data-hash="memberinfo" -->
								<a href="/mobile/complete?scene=edit#memberinfo">
									<i class="icon-setting fs14r"></i>
								</a>
							</div>
						</div>

						<?php if( 2 <= \think\Session::get('member.role') ){ ?>
						<?php if( 9 == \think\Session::get('member.status') ){ ?>
						<div class="weui-cells">
							<a class="weui-cell weui-cell_access" href="javascript:;" layout-mark="btn-step" data-hash="cert">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-medal fs20r"></i>
								</div>
								<div class="weui-cell__bd">
									<p>投资人认证</p>
								</div>
								<div class="weui-cell__ft">上传名片</div>
							</a>
						</div>
						<?php } ?>
						<?php } ?>

						<?php if( 2 <= \think\Session::get('member.role') ){ ?>
						<div class="weui-cells">
							<!-- layout-mark="btn-step" data-hash="memberlike" -->
							<a class="weui-cell weui-cell_access" href="/mobile/complete?scene=edit#memberlike">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-authenticator fs20r"></i>
								</div>
								<div class="weui-cell__bd">
									<p>投资喜好</p>
								</div>
								<div class="weui-cell__ft"></div>
							</a>
						</div>
						<?php } ?>

						<div class="weui-cells">
							<?php if( 1 == \think\Session::get('member.role') ){ ?>
							<a class="weui-cell weui-cell_access" href="/mobile/project/me">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-financing fs20r c-ffae17"></i>
								</div>
								<div class="weui-cell__bd">
									<p>我的项目</p>
								</div>
								<div class="weui-cell__ft">找投资</div>
							</a>
							<?php } ?>
							<?php if( 2 <= \think\Session::get('member.role') ){ ?>
							<a class="weui-cell weui-cell_access" href="/mobile/chain/project">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-authenticator fs20r"></i>
								</div>
								<div class="weui-cell__bd">
									<p>投资中心</p>
								</div>
								<div class="weui-cell__ft">找项目</div>
							</a>
							<?php } ?>
						</div>

						<div class="weui-cells">
							<a class="weui-cell weui-cell_access" href="javascript:;" layout-mark="btn-step" data-hash="memsec">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-password fs20r c-36ceca"></i>
								</div>
								<div class="weui-cell__bd">
									<p>账号与安全</p>
								</div>
								<div class="weui-cell__ft"></div>
							</a>
							<a class="weui-cell weui-cell_access" href="javascript:;" layout-mark="btn-step" data-hash="acc">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-investment fs20r c-ffb50e"></i>
								</div>
								<div class="weui-cell__bd">
									<p>我的钱包</p>
								</div>
								<div class="weui-cell__ft"></div>
							</a>
							<?php if( 1 == \think\Session::get('member.role') ){ ?>
							<!-- <a class="weui-cell weui-cell_access" href="/mobile/service/bp">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-smart fs20r c-0092da"></i>
								</div>
								<div class="weui-cell__bd">
									<p>我的BP</p>
								</div>
								<div class="weui-cell__ft"></div>
							</a> -->
							<?php } ?>
							<a class="weui-cell weui-cell_access" href="/mobile/chain/activity#myact">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-activity fs20r c-ee5c62"></i>
								</div>
								<div class="weui-cell__bd">
									<p>我的活动</p>
								</div>
								<div class="weui-cell__ft"></div>
							</a>
							<a class="weui-cell weui-cell_access" href="javascript:;" id="btn-share">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-share fs20r c-36ceca"></i>
								</div>
								<div class="weui-cell__bd">
									<p>推荐给好友</p>
								</div>
								<div class="weui-cell__ft"></div>
							</a>
							<a class="weui-cell weui-cell_access" href="/mobile/about/jzl">
								<div class="weui-cell__hd m-r-2x">
									<i class="icon-about fs20r c-28a6e0"></i>
								</div>
								<div class="weui-cell__bd">
									<p>关于价值链</p>
								</div>
								<div class="weui-cell__ft"></div>
							</a>
						</div>
					</div>
				</div>

				<div class="weui-tabbar">
					<a href="javascript:;" class="weui-tabbar__item" layout-mark="tab-item" data-itor="#msg-modal">
						<div class="weui-tabbar__icon position-relative">
							<?php $count = getMsgCount(); ?>
							<?php if(0 != $count){ ?>
							<span class="weui-badge" style="position: absolute;top: -2px;right: -13px;">{$count}</span>
							<?php }?>
							<i class="icon-news"></i>
						</div>
						<p class="weui-tabbar__label">消息</p>
					</a>
					<a href="javascript:;" class="weui-tabbar__item weui-bar__item--on" layout-mark="tab-item" data-itor="#tab4">
						<div class="weui-tabbar__icon position-relative">
							<i class="icon-user"></i>
						</div>
						<p class="weui-tabbar__label">我的</p>
					</a>
				</div>
			</div>
		</div>

		<div id="share-modal" class="weui-popup__container" style="display: none;">
			<div class="weui-popup__overlay"></div>
			<div class="weui-popup__modal">
				<div class="overh position-relative share-bg">
					<a class="position-absolute position-left position-top m-l-1x m-t-1x close-popup" style="display: block;">
						<i class="icon-shut_down fs24r c-888"></i>
					</a>
					<div style="margin-top: 160px;">
						<img src="/public/webfe/images/wx_qrcode.jpg" class="m-x-auto" style="display: block; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.24);" />
					</div>
					<p class="m-x-auto m-t-3x fs12r" style="width: 258px; word-wrap: break-word;text-align: center;">
						<!-- <a href="http://jzl.51dojob.com/mobile/service/member">http://jzl.51dojob.com/mobile/service/member</a> -->
						长按二维码发送给朋友
					</p>
				</div>
			</div>
		</div>

		<div class="warp" id="acc-template" style="display: none;" data-title="我的钱包">
			<div class="act-bg" id="acc-price">0.00</div>
			<div class="page__bd page__bd_spacing m-y-2x m-x-2x">
				<a href="javascript:;" class="weui-btn weui-btn_primary" layout-mark="btn-step" data-hash="member">确定</a>
			</div>
		</div>

		<div class="warp" id="cert-template" style="display: none;" data-title="投资人认证">
			<div class="overa" id="layout-form-cert">
				<form class="uploadFiles m-x-auto m-t-3x v-valign" action="/*" onsubmit="return false;">
					<img src="/public/admin/images/upload-tips.png" id="bind-card" class="v-middle m-x-auto">
					<input layout-mark="uploadFile" type="file" multiple="" data-u="__ucard">
				</form>
				<p class="c-888 fs14r text-center m-y-3x">* 点击上传工作名片认证成为投资人</p>
			</div>
			<div class="page__bd page__bd_spacing m-y-2x m-x-2x">
				<a href="javascript:;" class="weui-btn weui-btn_primary" layout-mark="btn-step" data-hash="member">确定</a>
			</div>
		</div>

		<div class="warp" id="memsec-template" style="display: none;" data-title="账号与安全">
			<div class="weui-cells">
				<a class="weui-cell weui-cell_access" href="javascript:;" layout-mark="btn-step" data-hash="udpass">
					<div class="weui-cell__bd">
						<p>修改密码</p>
					</div>
					<div class="weui-cell__ft"></div>
				</a>
				<a class="weui-cell weui-cell_access" href="javascript:;" layout-mark="btn-step" data-hash="repass">
					<div class="weui-cell__bd">
						<p>重置密码</p>
					</div>
					<div class="weui-cell__ft"></div>
				</a>
				<a class="weui-cell weui-cell_access" href="javascript:;" layout-mark="btn-step" data-hash="editmobile">
					<div class="weui-cell__bd">
						<p>更换手机</p>
					</div>
					<div class="weui-cell__ft"></div>
				</a>
			</div>
			<div class="page__bd page__bd_spacing m-y-2x m-x-2x">
				<a href="javascript:;" class="weui-btn weui-btn_primary" layout-mark="btn-step" data-hash="member">关闭</a>
			</div>
		</div>

		<div class="warp" id="editmobile-template" style="display: none;" data-title="更换手机">
			<div class="weui-cells weui-cells_form" id="editmobile-tpl-view">

			</div>
			<div class="weui-flex m-y-2x">
				<div class="weui-flex__item">
					<a href="javascript:cker('memsec', 'editmobile-tpl-view');" class="weui-btn weui-btn_default m-l-2x m-r-1x">返回</a>
				</div>
				<div class="weui-flex__item">
					<a href="javascript:;" class="weui-btn weui-btn_primary m-l-1x m-r-2x" id="submit-editmobile">完成</a>
				</div>
			</div>
		</div>

		<script type="text/html" id="editmobile-tpl-modal">
			<div class="weui-cell">
				<div class="weui-cell__hd">
					<label class="weui-label">原手机号</label>
				</div>
				<div class="weui-cell__bd">
					<input class="weui-input c-888" id="ipt-rm-oldmobile" type="tel" pattern="[0-9]*" placeholder="" disabled="disabled">
				</div>
			</div>
			<div class="weui-cell weui-cell_vcode">
				<div class="weui-cell__hd">
					<label class="weui-label">新手机号</label>
				</div>
				<div class="weui-cell__bd">
					<input class="weui-input" layout-mark="sms-mobile" id="ipt-rm-mobile" type="tel" pattern="[0-9]*" placeholder="请输入新手机号">
				</div>
				<div class="weui-cell__ft">
					<button class="weui-vcode-btn" layout-mark="sms-get" data-scene="resetMobile" id="sendsms" style="min-width: 110px;">获取验证码</button>
				</div>
			</div>
			<div class="weui-cell">
				<div class="weui-cell__hd"><label class="weui-label">验证码</label></div>
				<div class="weui-cell__bd">
					<input class="weui-input" layout-mark="sms-code" id="ipt-rm-code" type="number" pattern="[0-9]*" placeholder="请输入验证码">
				</div>
			</div>
		</script>

		<div class="warp" id="udpass-template" style="display: none;" data-title="修改密码">
			<div class="weui-cells weui-cells_form">
				<div class="weui-cell">
					<div class="weui-cell__hd"><label class="weui-label">原密码</label></div>
					<div class="weui-cell__bd">
						<input class="weui-input" id="ipt-ud-passport" type="password" placeholder="请输入">
					</div>
				</div>
				<div class="weui-cell">
					<div class="weui-cell__hd"><label class="weui-label">新密码</label></div>
					<div class="weui-cell__bd">
						<input class="weui-input" id="ipt-ud-password" type="password" placeholder="请输入">
					</div>
				</div>
				<div class="weui-cell">
					<div class="weui-cell__hd"><label class="weui-label">再次输入</label></div>
					<div class="weui-cell__bd">
						<input class="weui-input" id="ipt-ud-confpwd" type="password" placeholder="请输入">
					</div>
				</div>
			</div>
			<div class="weui-flex m-y-2x">
				<div class="weui-flex__item">
					<a href="javascript:;" class="weui-btn weui-btn_default m-l-2x m-r-1x" layout-mark="btn-step" data-hash="memsec">返回</a>
				</div>
				<div class="weui-flex__item">
					<a href="javascript:;" class="weui-btn weui-btn_primary m-l-1x m-r-2x" id="submit-udpass">完成</a>
				</div>
			</div>
		</div>

		<div class="warp" id="repass-template" style="display: none;" data-title="重置密码">
			<div class="weui-cells weui-cells_form" id="repass-tpl-view">

			</div>
			<div class="weui-flex m-y-2x">
				<div class="weui-flex__item">
					<a href="javascript:cker('memsec', 'repass-tpl-view');" class="weui-btn weui-btn_default m-l-2x m-r-1x">返回</a>
				</div>
				<div class="weui-flex__item">
					<a href="javascript:;" class="weui-btn weui-btn_primary m-l-1x m-r-2x" id="submit-repass">完成</a>
				</div>
			</div>
		</div>

		<script type="text/html" id="repass-tpl-modal">
			<div class="weui-cell weui-cell_vcode">
				<div class="weui-cell__hd">
					<label class="weui-label">手机号</label>
				</div>
				<div class="weui-cell__bd">
					<input class="weui-input" layout-mark="sms-mobile" id="ipt-re-mobile" type="tel" pattern="[0-9]*" placeholder="请输入手机号">
				</div>
				<div class="weui-cell__ft">
					<button class="weui-vcode-btn" layout-mark="sms-get" data-scene="resetPwd" id="sendsms" style="min-width: 110px;">获取验证码</button>
				</div>
			</div>
			<div class="weui-cell">
				<div class="weui-cell__hd"><label class="weui-label">验证码</label></div>
				<div class="weui-cell__bd">
					<input class="weui-input" layout-mark="sms-code" id="ipt-re-code" type="number" pattern="[0-9]*" placeholder="请输入验证码">
				</div>
			</div>
			<div class="weui-cell">
				<div class="weui-cell__hd"><label class="weui-label">新密码</label></div>
				<div class="weui-cell__bd">
					<input class="weui-input" id="ipt-re-password" type="password" placeholder="请输入">
				</div>
			</div>
			<div class="weui-cell">
				<div class="weui-cell__hd"><label class="weui-label">再次输入</label></div>
				<div class="weui-cell__bd">
					<input class="weui-input" id="ipt-re-confpwd" type="password" placeholder="请输入">
				</div>
			</div>
		</script>

		<script type="text/javascript" src="/public/modules/thin.min.js" thin-main="/public/home/js/memberService" thin-loader="/public/modules/loader" thin-cache="false"></script>

	</body>

</html>